home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / cd-sup / hippoplayer / support / 14bit.doc < prev    next >
Text File  |  1999-01-01  |  4KB  |  129 lines

  1.      |
  2.      |        //
  3.      |      \X/ Flowerpower *proudly* presents
  4.      |
  5. -----+------------------------------------------------------------------------
  6.      |
  7.      |    a 14 Bit low level sound driver for CyberSound audio sub system
  8.      |
  9.  
  10.  
  11.  
  12. EMAIL: flowerp@eikon.e-technik.tu-muenchen.de
  13.  
  14.  
  15.  
  16. INTRODUCTION
  17. ------------
  18.  
  19. This is a driver to replay a 16 bit Stereo audio stream via the Amiga audio
  20. channels  in  14  bit  quality.   It  will  adapt to different screenmodes,
  21. allowing  up  to  60khz output frequency on AGA machines and about 28khz on
  22. ECS  machines.   For  maximum  sound  quality, the driver can be calibrated
  23. using  a  prefs  program.   The  core  routines are written in assembly for
  24. maximum speed, but optimizations are always possible.
  25.  
  26.  
  27.  
  28. HARDWARE/SOFTWARE REQUIREMENTS
  29. ------------------------------
  30.  
  31. An  Amiga  with  at  least  Kickstart  2.0  and  a MC68020 processor should
  32. suffice.   The  driver  takes  approximately  150kb  of  memory, mainly for
  33. tables.   Chip  memory  usage is neglectable as this driver uses very small
  34. buffers and is heavily interrupt driven.
  35.  
  36.  
  37.  
  38. CALIBRATION
  39. -----------
  40.  
  41. Calibration  of  the  driver  will decrease the noise level and improve the
  42. sound  quality.  Every Amiga has got a different characteristics in its D/A
  43. converters.   They  are not exactly linear.  The calibration program allows
  44. you  to  measure  out  the  step sizes of the D/A converter.  So the 14 bit
  45. driver can create an optimal conversion table.
  46.  
  47. Calibration  will take approximately 20 minutes.  If you want to do it very
  48. exactly you may invest 2 hours as well ;-)
  49.  
  50. The  program  will  explain  itself.  Please follow the instructions of the
  51. program in order not to damage your HIFI equipment.
  52.  
  53.  
  54.  
  55. THEORY OF OPERATION
  56. -------------------
  57.  
  58. 14  bit  output  is  created  by  mixing a channel at maximum volume with a
  59. channel  playing at minimum volume.  As this is done on the left and on the
  60. right side, it takes all 4 audio channels.
  61.  
  62.  
  63.  
  64. PROGRAMMER'S DOCUMENTATION
  65. --------------------------
  66.  
  67. This  is  not  yet  available,  as  this  driver  is not yet finished.  The
  68. software interface may change at any time.  If you are interested in how it
  69. works,  look  into  the source code of the CDPlayer program.
  70.  
  71. In  the  future the cybersound.library will be responsible for creating the
  72. audio stream, so direct programming of this driver will be useless.
  73.  
  74. Currently  the  driver is limited to LITTLE ENDIAN audio streams as created
  75. by  the Toshiba CDRoms.  As this is not the best stream format for realtime
  76. mixing on the Amiga, a stream format selection will probably be included.
  77.  
  78. The source code is included for "educational" purposes only.
  79.  
  80.  
  81.  
  82. FUTURE ENHANCEMENTS
  83. -------------------
  84.  
  85. * miscellaneous changes in the software interface
  86.  
  87. * further optimizations for special stream formats
  88.  
  89. * program a Toccata and Maestro driver as well
  90.  
  91.  
  92.  
  93. PROGRAM HISTORY
  94. ---------------
  95.  
  96. Sounddriver 1.1
  97.  
  98. * The  audio  hardware was reset even when the driver failed to open.  This
  99.   could disturb other programs, e.g. module players. Fixed.
  100.  
  101. * The  audio  stream  format is now selectable.  The application can switch
  102.   between  big  and little endian.  The CDPlayer uses little endian because
  103.   the  CDRom  delivers that data format.  A library like cybersound.library
  104.   would of course use big endian (motorola format).
  105.  
  106. Calibration 1.1
  107.  
  108. * Fixed some enforcer hits that occured when saving the configuration.  You
  109.   really  shouldn't  peek into a  menu  structure  that  has  already  been
  110.   deallocated.  ;-)
  111.  
  112.  
  113.  
  114.  
  115. CONTACT ADDRESS
  116. ---------------
  117.  
  118. EMAIL: flowerp@eikon.e-technik.tu-muenchen.de
  119.  
  120. FidoNet: 2:2480/465
  121.  
  122. SnailMail:
  123.  
  124. Christian Buchner
  125. Ganghoferstraße 2
  126. 82110 Germering
  127. Germany
  128. Tel.: +49-(0)89/844872
  129.